package com.weharvest.edu.entity;

import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity
@DynamicUpdate
public class Organization {
    @Id
    //组织id
    private String id;
    //组织名称
    private String name;
    //域名
    private String domain;
    //地址
    private String address;
    //模版id
    private String templateId;
    //联系方式
    private String phone;
    //创建人id
    private String createId;
    //类型
    private Integer type;
    //状态
    private Integer state;
    //是否删除
    private Integer flag;
    //创建时间
    private Date createTime;
    //修改时间
    private Date updateTime;

    public Organization() {
    }

}

